package com.ylbh.modules.sign.service;

import com.ylbh.common.pojo.sign.dto.SignPrizeDTO;
import com.ylbh.common.pojo.sign.dto.SignTurntableDTO;
import com.ylbh.common.pojo.sign.vo.ShoppingSigninPrizeVO;
import com.ylbh.modules.sign.entity.ShoppingSigninPrize;
import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;

/**
 * 转盘信息列表
 * @author wjc
 * @date 2019-011-06 14:22:40
 */
public interface ShoppingSignPrizeService {

    /**
     * 上传图片
     * @param file
     * @return
     */
    String uploadPrizeImg(MultipartFile file, HttpServletRequest request);

    void addPrizeInfo(SignPrizeDTO signPrizeDTO);

    /**
     * 获取活动信息ById
     * @param id
     * @return
     */
    ShoppingSigninPrizeVO getPrizeInfoById(Integer id);

    /**
     * 根据ID修改活动信息
     * @param signPrizeDTO
     * @return
     */
    void modifyPrizeInfoById(SignPrizeDTO signPrizeDTO);


    int getPrizeCountById(Integer id);
}
